//+---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation, 2007
//
// File: IDataProvider.cs
//
// Contents: IDataProvider interface - data feed for the Delivery Service
//
// Created by: Adam Wardynski (adamwa) Feb 13 2008
//
//----------------------------------------------------------------------------

using System;
using System.Collections.Generic;

namespace Microsoft.Reputation.Services
{
    public interface IDataProvider
    {
        IAsyncResult BeginLookupObjects(
            IEnumerable<DPLookupRequest> requests,
            AsyncCallback callback,
            object state);

        DPLookupResponse[] EndLookupObjects(
            out uint operationStatus,
            out long dataProviderLatency,
            IAsyncResult asyncResult);

        DPOverrideResponse GetOverrides(
            long latestOverrideStamp);
    }
}
